package com.kongyz;

import com.kongyz.template.Cricket;
import com.kongyz.template.Football;
import com.kongyz.template.Game;

/**
 * @author kongyz
 * @date 2018/7/11 20:39
 * @Description:
 */
public class Demo {

    public static void main(String[] args) {
        Game game=new Cricket();
        game.play();
        System.out.println();
        game=new Football();
        game.play();
    }
}
